home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / dev / c / vbcc.lha / vbcc / targets / ppc-warpos / include / locale.h < prev    next >
C/C++ Source or Header  |  2001-04-28  |  969b  |  43 lines

  1. #pragma begin_header
  2. #ifndef __LOCALE_H
  3. #define __LOCALE_H 1
  4.  
  5. #undef NULL
  6. #define NULL ((void *)0)
  7.  
  8. struct lconv {
  9.         char    *decimal_point;
  10.         char    *thousands_sep;
  11.         char    *grouping;
  12.         char    *int_curr_symbol;
  13.         char    *currency_symbol;
  14.         char    *mon_decimal_point;
  15.         char    *mon_thousands_sep;
  16.         char    *mon_grouping;
  17.         char    *positive_sign;
  18.         char    *negative_sign;
  19.         char    int_frac_digits;
  20.         char    frac_digits;
  21.         char    p_cs_precedes;
  22.         char    p_sep_by_space;
  23.         char    n_cs_precedes;
  24.         char    n_sep_by_space;
  25.         char    p_sign_posn;
  26.         char    n_sign_posn;
  27. };
  28.  
  29. #define LC_ALL          0
  30. #define LC_COLLATE      1
  31. #define LC_CTYPE        2
  32. #define LC_MONETARY     3
  33. #define LC_NUMERIC      4
  34. #define LC_TIME         5
  35.  
  36. #define _LC_LAST        6
  37.  
  38. struct lconv *localeconv(void);
  39. char *setlocale(int,const char *);
  40.  
  41. #endif
  42. #pragma end_header
  43.